import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:fristflutter/src/l10n/gen/app_l10n.dart';
import 'package:rive/rive.dart';

class HomeTypeA extends StatefulWidget {
  const HomeTypeA({Key? key}) : super(key: key);

  @override
  State<StatefulWidget> createState() => _HomeTypeAState();
}

class _HomeTypeAState extends State<HomeTypeA> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            const Center(
              child: SizedBox(
                height: 70,
                // child: RiveAnimation.asset(
                //   "assets/img/wger_logo.riv", // wger_logo.riv
                //   animations: ['idle_loop2'],
                // )
              ),
            ),
            Text(
              AppL10n.of(context).loadingText,
              style: Theme.of(context).textTheme.headlineSmall,
              ),
          ]
        ),
      )
    );
  }
}